home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / FullReplace 1.1 (US) / FullReplace 1.1 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  1.8 KB  |  49 lines

  1.  
  2.  
  3.                                            FullReplace 1.1
  4.  
  5.                                           by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.    FullReplace allows to strip or replace a string in a text.
  9.  
  10. SYNTAX
  11.             FullReplace (<input>,<search pattern>[,<replace pattern>
  12.                                          [,<all>[,<offset>]]])
  13.  
  14. PARAMETERS
  15.    Parameters 3 to 5 are optionals.
  16.  
  17.    <input> is the text that will be parsed.
  18.  
  19.    <search pattern> is the string to search for.
  20.  
  21.    <replace pattern>  is the replacement string to search for. It may be empty.
  22.  
  23.    <all> is a boolean, telling if all matches (true) must be handled, or only the first one (false). Default is true.
  24.  
  25.    <offset> is the char number at which the search will begin. Default is 1.
  26.  
  27.    Using "!" and "?" returns online help (resp. about and syntax).
  28.  
  29. USING
  30.   FullReplace will return the input text, once replacement done. Pattern searching is not cas sensitive.
  31.  
  32. ERRORS
  33.    If an error occurs, FullReplace will return :
  34.      "Error : Missing parameter(s)"
  35.      "Error : Param #4 must be boolean"
  36.      "Error : Param #5 must be > 0"
  37.  
  38. HISTORY
  39. 1.1                                                                                         02/23/92
  40. • Search no more limited to 32000 chars
  41. --------------------------------------------------------------------
  42.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  43.  
  44.                    FullReplace XFCN, © Frederic Rinaldi, 1989…1993.
  45.  
  46.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  47.  
  48. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  49.                Internet : RINALDI1@APPLELINK@APPLE.COM